<template>
	<view class="home">
		<cmd-nav-bar :fixed="true" back left-text="执法记录" right-text="" title="" font-color="#464c5b" background-color="white"></cmd-nav-bar>
		<view class="mo_ban"></view>

		<view class="content_body">
			<view class="con_body">
				<view class="con_text">宠物未套牵引绳子</view>
				<view class="con_address"> 科创区创新中心二期</view>
				<view>
					<text>2019-03-01 14:59</text>
					<text class="right_">
						<!-- <view class="tag-view"> -->
							<uni-tag text="罚款10元"></uni-tag>
						<!-- </view> -->
					</text>
				</view>
			</view>

		</view>
	</view>
</template>
<script>
	import cmdNavBar from "@/components/cmd-nav-bar/cmd-nav-bar.vue"
 import uniTag from '@/components/uni-tag/uni-tag.vue'
	export default {
		props: {},
		components: {
			cmdNavBar,uniTag
		},
		data() {
			return { title: 'tag',
                type: 'default',
                inverted: false}
		},
		methods: {},
		watch: {},

		onReachBottom() { //页面上拉触底事件的处理函数

		},
		onPullDownRefresh() { //监听用户下拉动作，一般用于下拉刷新
			//需要在 pages.json 里，找到的当前页面的pages节点，并在 style 选项中开启 enablePullDownRefresh
			//uni.startPullDownRefresh(); 开启
			// uni.stopPullDownRefresh(); 关闭
		},
		onUnload() { //监听页面卸载

		},
		onHide() { //监听页面隐藏

		},
		onLoad() { // 替代 created 监听页面加载，其参数为上个页面传递的数据，参数类型为Object（用于页面传参），参考示例

		},
		onReady() { //替代 mounted 监听页面初次渲染完成

		},

		onShow() { //监听页面显示
			//生命周期
		}
	}
</script>
<style lang="scss" scoped>
	.home {
		width: 100%;
		height: 100%;
	}

	.mo_ban {
		width: 100%;
		height: 92upx;
	}

	.content_body {
		width: 100%;
		height: 200upx;
		background: white;
		margin: 30upx auto auto auto;
		background: white;
		border-radius: 15upx;

		.con_body {
			width: 90%;
			margin: auto;
			height: 100%;

			.con_text {
				width: 100%;
				height: 80upx;
				line-height: 80upx;
				font-size: 16px;
				font-weight: bold;
				color: #464c5b;
			}

			.con_address {
				color: #657180;
				width: 100%;
				height: 50upx;
			}
			.right_{
				margin-left: 70upx;
			}
		}

	}
</style>
